package com.zhw.exception;

import com.zhw.pojo.Result;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class getTheException {


    @ExceptionHandler(Exception.class)
    public Result getErr(){
        return Result.error("去看看操作手册吧");
    }
}
